package com.h3c.ptability.mapstruct;

import com.h3c.ptability.dto.electronicSign.PtOrgInfoDTO;
import com.h3c.ptability.entity.PtOrgInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author chenyifan
 * @date 2022/6/28 17:35
 */
@Mapper
public interface PtOrgInfoMapstruct {

    PtOrgInfoMapstruct INSTANCE = Mappers.getMapper(PtOrgInfoMapstruct.class);

    /**
     * dto转换成实体类
     * @param orgInfoDTO
     * @return
     */
    PtOrgInfo dtoToEntity(PtOrgInfoDTO orgInfoDTO);
}
